<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>聚企业-企业列表</title>
    <link rel="stylesheet" href="../../lib/css/reset.min.css">
    <link rel="stylesheet" href="../../lib/css/swiper.min.css">
    <link rel="stylesheet" href="../../css/all.min.css">
    <link rel="stylesheet" href="../../lib/css/elementui.min.css">

</head>

<body>
    <div class="app-wrap" v-cloak id="jqy_list">
        <header-top></header-top>
        <header-search-global type="企业" @callback="getSearchTxt"></header-search-global>
        <common-top-nav cur="聚企业"></common-top-nav>
        <div class="container">
            <common-crumb1 :crumblist="crumblist" @callback="getCrumblist"></common-crumb1>
            <!-- 筛选 -->
            <div class="jpp-pp-shaixuan-bar">
                <div class="catetype-wrap">
                    <div class="catetype">
                        <span class="biaoqian">企业类型：</span>
                        <a @click="setLabel(type)" v-for="type in qiyetype" :class="{'active':where.labelId==type.labelId}">{{type.labelName}}</a>
                    </div>
                    <div class="catetype">
                        <span class="biaoqian">入驻时间：</span>
                        <div class="date-wrap">
                            <el-date-picker v-model="where.daterange" value-format="yyyy-MM-dd" type="daterange" start-placeholder="开始日期" end-placeholder="结束日期">
                            </el-date-picker>
                            <button @click="getwhere">确定</button>
                            <button>清除</button>
                        </div>
                    </div>
                </div>
            </div>
            <!-- 企业列表 -->
            <div class="jqy-list">
                <div v-for="item,index in list" class="jqy-item mt-20">
                    <a :href="location+'/jqiye/jqiye_details.html?id='+item.id">
                        <div class="logo">
                            <img :src="item.logoUrl">
                        </div>
                    </a>
                    <a :href="location+'/jqiye/jqiye_details.html?id='+item.id">
                        <div class="name">{{item.name}}</div>
                    </a>
                    <div @click="addGuanzhu(item,index)" class="love"><i class="icon-jpp-shouc c0"></i>{{item.lovecount==null?0:item.lovecount}}万人</div>
                </div>
            </div>
            <common-page :current="1" :all="total" @btn-click="getPage"></common-page>
        </div>
        <common-footer></common-footer>
    </div>
    <script src="../../lib/js/vue.js"></script>
    <script src="../../lib/js/elementui.min.js"></script>
    <script src="../../lib/js/swiper.min.js"></script>
    <script src="../../lib/js/axios.min.js"></script>
    <!-- mock 数据 打包发布的时候记得移除 -->
    <script src="../../lib/js/mock.js"></script>
    <script src="../../js/all.min.js"></script>
    <script>
        jqy_list();
    </script>
</body>

</html>